export const USER_NAME_IS_EXISTS = {
  code: 10002,
  message: "用户已存在",
  result: "",
};
export const USER_NAME_OR_PASSWORD_IS_REQUIRED = {
  code: 10003,
  message: "用户名或密码不能为空",
  result: "",
};

//注册失败
export const USER_REGISTER_FAILED = {
  code: 10005,
  message: "用户注册失败",
  result: "",
};
export const USER_NOT_EXISTS = {
  code: 10006,
  message: "用户不存在",
  result: "",
};
export const USER_NAME_OR_PASSWORD_IS_INVALID = {
  code: 10004,
  message: "用户名或密码错误",
  result: "",
};
export const LOGIN_ERROR = {
  code: 10004,
  message: "登录失败",
  result: "",
};

export const UNAUTHORIZATION = {
  code: 10100,
  message: "无效的token",
  result: "",
};

// token过期
export const TOKEN_EXPIRED = {
  code: 10100,
  message: "token已过期",
  result: "",
};
